<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>绑定信息</title>
  </head>
  <script type="text/javascript" src="https://appx/web-view.min.js"></script>
  <!-- 如该H5页面需要同时在非钉钉客户端内使用，为避免该请求404，可参考以下写法 -->
  <!-- 请尽量在html头部执行以下脚本 -->
  <script>
    if (navigator.userAgent.toLowerCase().indexOf('dingtalk') > -1) {
      document.writeln('<script src="https://appx/web-view.min.js"' + '>' + '<' + '/' + 'script>');
    }

      // // javascript
      // dd.navigateTo({url: '/Pages/home/index'});

      // // 网页向小程序 postMessage 消息
      // dd.postMessage({name:"测试web-view"});

      // // 接收来自小程序的消息。
      // dd.onMessage = function(e) {
      //   console.log(e); //{'sendToWebView': '1'}
      // }

  </script>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
